package com.ai.mapper;

import com.ai.entity.CameraNetStatusRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 摄像头网络状态记录表 Mapper 接口
 * </p>
 *
 * @author jiaok
 * @since 2023-10-30
 */
@Mapper
public interface CameraNetStatusRecordMapper extends BaseMapper<CameraNetStatusRecord> {

    CameraNetStatusRecord getLatestCameraNetRecord(@Param("id") Integer id, @Param("cameraIp") String cameraIp);

}
